
import { isTurnChild } from '../utils'
import  { lifeCycle } from '../lifeCycle'
export const turnApp = async () => {
  if(isTurnChild()) {
      console.log("路由切换了")
      // 微前端生命周期执行
      await lifeCycle()
    }
}